using System;

namespace SharpMud.Text.Matching
{
	/// <summary>
	/// Wraps the result of a StringMatcher matching operation
	/// </summary>
	public interface IStringMatcherMatch : IComparable
	{
		/// <summary>
		/// The substring that the pattern was matched to
		/// </summary>
		string	Value	{get;}
		/// <summary>
		/// The 0-based index of the matching substring 
		/// </summary>
		int		Index	{get;}
		/// <summary>
		/// The length of this matching substring
		/// </summary>
		int		Length	{get;}
	}
}
